package com.xiexiaozhou.helper.web.from;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@Data
public class CustomerForm {

    @NotEmpty(message = "用户名不能为空")
    private String username;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "昵称不能为空")
    private String nickname;
    @NotEmpty(message = "手机号码不能为空")
    private String phone;
}
